package com.southwind;

import org.springframework.web.client.RestTemplate;

public class Cycle {

    public static void main(String[] args) throws InterruptedException {
        RestTemplate restTemplate = new RestTemplate();
        while (true) {
            restTemplate.getForObject("http://localhost:8083/test", String.class);
            Thread.sleep(500);
        }
    }
}
